package com.gexiaobao.pigeon.ui.fragment.mine.organization.detail

import android.os.Bundle
import com.gexiaobao.pigeon.app.base.BaseFragment
import com.gexiaobao.pigeon.databinding.FragmentOrgIntroBinding
import com.gexiaobao.pigeon.viewmodel.OrgDetailViewModel

/**
 * @Author      : hxw
 * @Date        : 2024/8/2 14:41
 * @Describe    : 公棚简介
 */
class FragmentOrgIntro : BaseFragment<OrgDetailViewModel, FragmentOrgIntroBinding>() {
    override fun initView(savedInstanceState: Bundle?) {
        val desc = arguments?.getString("desc")
        mDatabind.tvOrgIntro.text = desc
    }

    companion object {
        fun newInstance(desc: String): FragmentOrgIntro {
            val fragment = FragmentOrgIntro()
            val bundle = Bundle()
            bundle.putString("desc", desc)
            fragment.arguments = bundle
            return fragment
        }
    }
}